projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dafcd6b
)
amd-iommu: two more __init annotations
author
Jan Beulich
<jbeulich@novell.com>
Mon, 16 May 2011 12:33:10 +0000
(13:33 +0100)
committer
Jan Beulich
<jbeulich@novell.com>
Mon, 16 May 2011 12:33:10 +0000
(13:33 +0100)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/drivers/passthrough/amd/iommu_map.c
patch
|
blob
|
history
diff --git
a/xen/drivers/passthrough/amd/iommu_map.c
b/xen/drivers/passthrough/amd/iommu_map.c
index 988e11264f7b89a934e3505a09fa39ec6ae4e538..d80c06c212430f771b0ef7f521b3603d515b4033 100644
(file)
--- a/
xen/drivers/passthrough/amd/iommu_map.c
+++ b/
xen/drivers/passthrough/amd/iommu_map.c
@@
-317,7
+317,8
@@
void amd_iommu_set_root_page_table(
dte[0] = entry;
}
-void amd_iommu_set_intremap_table(u32 *dte, u64 intremap_ptr, u8 int_valid)
+void __init amd_iommu_set_intremap_table(
+ u32 *dte, u64 intremap_ptr, u8 int_valid)
{
u64 addr_hi, addr_lo;
u32 entry;
@@
-354,7
+355,7
@@
void amd_iommu_set_intremap_table(u32 *dte, u64 intremap_ptr, u8 int_valid)
dte[4] = entry;
}
-void amd_iommu_add_dev_table_entry(
+void
__init
amd_iommu_add_dev_table_entry(
u32 *dte, u8 sys_mgt, u8 dev_ex, u8 lint1_pass, u8 lint0_pass,
u8 nmi_pass, u8 ext_int_pass, u8 init_pass)
{